package com.ctg.behavior.calc.feign.funnel;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.ctg.behavior.common.funnel.CtFunnelCalcRequest;
import com.ctg.behavior.common.funnel.CtFunnelCalcResult;

// @FeignClient(value = "${provider.application.name}")
public interface CtFunnelReportFeignClient {

//	@PostMapping("/api/funnels/report")
//	public CtFunnelCalcResult calcReport(@RequestParam("id") Long id, @RequestParam("bookmarkId") String bookmarkId, @RequestParam("async") Boolean async,
//			@RequestParam("timeout") Integer timeout, @RequestBody CtFunnelCalcBody funnelCalcBody);

	
	@PostMapping("/api/funnels/report")
	public CtFunnelCalcResult doCalc(@RequestBody CtFunnelCalcRequest request);

	
}
